package model;



/**
 * Tarticle entity. @author MyEclipse Persistence Tools
 */

public class Tarticle  implements java.io.Serializable {


    // Fields    

     private Integer artsid;
     private Integer stuinfoid;
     private String arttitle;
     private String artcontant;
     private String arttime;
     private Integer grade;
     private Integer ifintro;
     private Integer isDel;


    // Constructors

    /** default constructor */
    public Tarticle() {
    }

    
    /** full constructor */
    public Tarticle(Integer stuinfoid, String arttitle, String artcontant, String arttime, Integer grade, Integer ifintro, Integer isDel) {
        this.stuinfoid = stuinfoid;
        this.arttitle = arttitle;
        this.artcontant = artcontant;
        this.arttime = arttime;
        this.grade = grade;
        this.ifintro = ifintro;
        this.isDel = isDel;
    }

   
    // Property accessors

    public Integer getArtsid() {
        return this.artsid;
    }
    
    public void setArtsid(Integer artsid) {
        this.artsid = artsid;
    }

    public Integer getStuinfoid() {
        return this.stuinfoid;
    }
    
    public void setStuinfoid(Integer stuinfoid) {
        this.stuinfoid = stuinfoid;
    }

    public String getArttitle() {
        return this.arttitle;
    }
    
    public void setArttitle(String arttitle) {
        this.arttitle = arttitle;
    }

    public String getArtcontant() {
        return this.artcontant;
    }
    
    public void setArtcontant(String artcontant) {
        this.artcontant = artcontant;
    }

    public String getArttime() {
        return util.ReturnDate.datetimeFormatnotime(this.arttime);
    }
    
    public void setArttime(String arttime) {
        this.arttime = arttime;
    }

    public Integer getGrade() {
        return this.grade;
    }
    
    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getIfintro() {
        return this.ifintro;
    }
    
    public void setIfintro(Integer ifintro) {
        this.ifintro = ifintro;
    }

    public Integer getIsDel() {
        return this.isDel;
    }
    
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
   








}